package com.abhinav.designPatterns.command;

public class LightOffCommand implements Command{
	// Reference to the Light
		Light light;
		
		public LightOffCommand(Light light){
			this.light = light;
		}

		@Override
		public void execute() {
			light.swithOff();		
		}

}
